package com.hyh.spring.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @BelongsPackage: com.hyh.spring.dao
 * @ClassName StorageDao
 * @Author: hyhWTX
 * @CreateTime: 2023-06-06  12:17
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@Mapper
public interface StorageDao {

    /**
     * 扣减库存
     */
    void decrease(@Param("productId") Long productId, @Param("count") Integer count);
}

